{% extends "personal_center/base.html" %}

{% block page_link %}
    <script src="../../static/technological/js/sponsor.js"></script>
    <link rel="stylesheet" href="../../static/technological/css/style.css">
    <link rel="stylesheet" type="text/css" href="../../static/finance/css/tooltip.css">
{% endblock %}


{% block style %}
    <style>
        .add_class {
            background: #1E90FF;
        }
        #card_id li{
            list-style: none;color: #454d55;margin-top: 8px;
        }
        .add-cars li:hover {
            background-color: #1E90FF;color: white;
        }
    </style>
{% endblock %}



{% block right_content %}
    <div class="headline">
        <div style="width: 15%;height: 100%;line-height: 40px;float: left;padding-left: 1%;">
            <a href="sponsor.html" style="color: #0b0b0b;">
                <i class="iconfont icon-faqi"></i>
                <span> 流程发起</span>
            </a>
        </div>
    </div>

    <div id="card_id" style="width: 100%;height: 93%;padding: 2%;overflow: auto;">
        <div style="width: 100%;">
            <div onclick="show_tag('topic-manage')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">议题管理</div>
            <hr>
            <div id="topic-manage" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('topics_list_view', '新增审批')" href="javascript:void(0)"> 新增审批</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('topic_directory.html', '议题目录')" href="javascript:void(0)"> 议题目录</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('topic_discussion.html?type=', '议题汇总')" href="javascript:void(0)"> 议题汇总</a>
                </div>
                {% if PartyOfficeFlag == 'true' %}
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/medical-ethics/TopicRegistrationExport.html"> 议题登记导出</a>
                    </div>
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('document-manage')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">公文管理</div>
            <hr>
            <div id="document-manage" style="width: 100%;display: none;background: white;">
                <div onclick="show_tag('internal-post')" style="width: 100%;height: 40px;line-height: 40px;cursor: pointer;padding-left: 35px;border-bottom: #cfcfcf dashed 1px;">
                     内部发文
                </div>
                <div id="internal-post" style="width: 100%;background: white;padding-left: 10px;border-bottom: #cfcfcf dashed 1px;display: none;">
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('dispatch.html', '公文发文')" href="javascript:void(0)"> 公文发文</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="my_draft.html"> 我的拟稿</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="DocumentManagement.html"> 公文管理</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="my_receipt.html"> 我的收文</a>
                    </div>
                </div>
                <div onclick="show_tag('jeremy-levin')" style="width: 100%;height: 40px;line-height: 40px;cursor: pointer;padding-left: 35px;border-bottom: #cfcfcf dashed 1px;">
                     上级来文
                </div>
                <div id="jeremy-levin" style="width: 100%;background: white;padding-left: 10px;border-bottom: #cfcfcf dashed 1px;display: none;">
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('OfficialDocumentSubmission.html', '公文送呈')" href="javascript:void(0)"> 公文送呈</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="Jeremy_draft.html"> 公文管理</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="higher_addressee.html"> 我的收文</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('Leave_article_archive.html', '留文存档')" href="javascript:void(0)"> 留文存档</a>
                    </div>
                </div>
                <div onclick="show_tag('external-correspondence')" style="width: 100%;height: 40px;line-height: 40px;cursor: pointer;padding-left: 35px;border-bottom: #cfcfcf dashed 1px;">
                     外部来函
                </div>
                <div id="external-correspondence" style="width: 100%;background: white;padding-left: 10px;display: none;">
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('ExternalCorrespondenceList.html', '外部来函')" href="javascript:void(0)"> 外部来函</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="LetterManagement.html"> 来函管理</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="lncoming_letter_receipt.html"> 我的收文</a>
                    </div>
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('filing_incoming_letters.html', '留文存档')" href="javascript:void(0)"> 留文存档</a>
                    </div>
                </div>
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('room-manage')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">会议室管理</div>
            <hr>
            <div id="room-manage" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="room_list.html"> 会议室预定</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="conference_room_audit_list"> 会议室预定管理</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="meet_statistics.html"> 使用统计</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/administrative/gathering_apply_list_view', '大型活动报备')" href="javascript:void(0)"> 大型活动报备</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/new-flow-logic/meetingleavelist.html"> 会议请假</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/supervision-inspection/message_approval_list.html"> 短信审批</a>
                </div>
                {% if '会议室管理' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '会议室管理' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('car-manage')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">车辆管理</div>
            <hr>
            <div id="car-manage" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('vehicle_use_info_view', '用车申请')" href="javascript:void(0)"> 用车申请</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/personnel/VehicleReport.html"> 用车报表</a>
                </div>
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('doctor_morality')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">医德医风</div>
            <hr>
            <div id="doctor_morality" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/medical-ethics/medical_ethics_my_apply_view', '我的申请')" href="javascript:void(0)"> 我的申请</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="DepartmentSummary(1)" href="javascript:void(0)"> 科室考核汇总</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="DepartmentSummary(2)" href="javascript:void(0)"> 考评总览</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="DepartmentSummary(3)" href="javascript:void(0)"> 考评公示</a>
                </div>
                {% if ydyf_flag == 'true' %}
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/medical-ethics/EvaluationReport.html"> 考评报表</a>
                    </div>
                {% endif %}
                {% if '医德医风' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '医德医风' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('seal-manage')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">用印审批</div>
            <hr>
            <div id="seal-manage" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('seal_apply_list_view', '用印申请')" href="javascript:void(0)"> 用印申请</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="stamp_list.html"> 印章管理</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/seal_making_list_view"> 印章刻制</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="javascript:;" onclick="QuickApplication()"> 快捷授权</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/forum/print_report_echart.html"> 用印报表</a>
                </div>
                {% if '用印审批' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '用印审批' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?flow_id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('fixed_assets')"
                 style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;">
                <img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">付款审批
            </div>
            <hr>
            <div id="fixed_assets" style="width: 100%;background: white;padding-left: 10px;display: none;">
{#                <div onclick="show_tag('Logistics_payment')" style="width: 100%;height: 40px;line-height: 40px;cursor: pointer;padding-left: 35px;border-bottom: #cfcfcf dashed 1px;">#}
{#                     后勤付款#}
{#                </div>#}
                <div id="Logistics_payment" style="width: 100%;background: white;padding-left: 10px;">
                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/logistics_office_list_view', '行政审批')" href="javascript:void(0)"> 合同付款审批</a>#}
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/payment_process_list.html"> 付款流程</a>
                    </div>

{#                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/medical_materials_list_view', '行政审批', '材料付款审批')" href="javascript:void(0)"> 材料付款审批</a>#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/medical_materials_list_view"> 材料付款审批</a>#}
{#                        材料付款与临床用血#}
{#                    </div>#}

{#                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/nutritional_meals_list_view', '行政审批', '餐补付款')" href="javascript:void(0)"> 餐补付款</a>#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/nutritional_meals_list_view"> 餐补付款</a>#}
{#                    </div>#}

{#                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                        <a id="demo-5" style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/subject_funding_list.html">学科经费 <img src="../../static/finance/img/提示说明.png" style="width: 12px;height: 12px;" alt=""></a>#}
{#                    </div>#}

{#                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/research_funding_list.html">科研经费</a>#}
{#                    </div>#}

{#                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/nutritional_meals_list_view', '行政审批', '餐补付款')" href="javascript:void(0)"> 餐补付款</a>#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="javascript:;" onclick="permissions_validation('/finance/labor_union_expenses.html', '行政审批', '工会经费')"> 工会经费</a>#}
{#                    </div>#}

{#                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/general_finance_list_view', '行政审批', '普通项目付款审批')" href="javascript:void(0)"> 一般付款</a>#}
{#                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/general_finance_list_view"> 一般付款</a>#}
{#                    </div>#}

                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="PartyCommitteeFundingAuthority()" href="javascript:;"> 党建经费</a>
                    </div>

                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/payment-management/OvertimeAllowanceList.html"> 体检科支援加班补助表</a>
                    </div>

                    {% if '付款审批' in customer_form_dict %}
                        {% for k,v in customer_form_dict.items %}
                            {% if k == '付款审批' %}
                                {% for item in v %}
                                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                            {{ item.name }}</a>
                                    </div>
                                {% endfor %}
                            {% endif %}
                        {% endfor %}
                    {% endif %}

                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/new-flow-logic/official_business_reception_list.html"> 公务（外宾）接待事前审批</a>
                    </div>

                    <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                        <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                        <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/new-flow-logic/reception_checklist_list.html"> 公务（外宾）接待清单审批</a>
                    </div>
                </div>
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('Travel_approval')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">差旅审批</div>
            <hr>
            <div id="Travel_approval" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/travel_apply_list_view', '行政审批', '差旅申请')" href="javascript:void(0)"> 差旅申请</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/travel_apply_list_view"> 差旅申请</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/reimbursement_list.html', '行政审批', '差旅报销')" href="javascript:void(0)"> 差旅报销</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/reimbursement_list.html"> 差旅报销</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/reimbursement_list.html', '行政审批', '差旅报销')" href="javascript:void(0)"> 差旅报销</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/MiddleLevelCadres.html"> 中层干部外出</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/reimbursement_list.html', '行政审批', '差旅报销')" href="javascript:void(0)"> 差旅报销</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/new-flow-logic/employees_abroad_list.html"> 职工出国(境)审批</a>
                </div>

                {% if '差旅审批' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '差旅审批' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('Personnel_approval')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">人事审批</div>
            <hr>
            <div id="Personnel_approval" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('leave_request_list_view', '行政审批', '请假申请')" href="javascript:void(0)"> 请假申请</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="leave_request_list_view"> 请假申请</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/dimission_apply_list_view', '行政审批', '离职申请')" href="javascript:void(0)"> 离职申请</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/dimission_apply_list_view"> 离职申请</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/supervision-inspection/shift_change_list.html"> 行政总值班调班申请</a>
                </div>

                {% if '人事审批' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '人事审批' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('Contract_countersignature')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">项目管理</div>
            <hr>
            <div id="Contract_countersignature" style="width: 100%;background: white;padding-left: 10px;display: none;">
{#                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/business_contract_list_view', '行政审批', '经济合同会签')" href="javascript:void(0)"> 经济合同会签</a>#}
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/business_contract_list_view"> 经济合同会签</a>#}
{#                </div>#}

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/object_audit_list"> 项目审计送审审批</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/logistics/BiddingProcurementProjectList.html"> 招标采购项目</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/logistics/tendering_signing_list.html"> 招标结果汇报会签</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/ManagementEconomicContract.html', '经济合同会签', '合同管理')" href="javascript:;"> 合同管理</a>
                </div>
                {% if '项目管理' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '项目管理' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('Clinical_management')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">临床管理</div>
            <hr>
            <div id="Clinical_management" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/new_medical_services_list_view', '行政审批', '新增医疗服务项目审批')" href="javascript:void(0)"> 新增医疗服务项目审批</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/new_medical_services_list_view"> 新增医疗服务项目审批</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/surgical_grading_list_view', '行政审批', '手术分级授权')" href="javascript:void(0)"> 手术分级授权</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/surgical_grading_list_view"> 手术分级授权</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/solo_practice_apply_list_view', '行政审批', '临床医师单独执业资格')" href="javascript:void(0)"> 临床医师单独执业资格</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/solo_practice_apply_list_view"> 临床医师单独执业资格</a>
                </div>
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" onclick="permissions_validation('/finance/solo_practice_apply_list_view', '行政审批', '临床医师单独执业资格')" href="javascript:void(0)"> 临床医师单独执业资格</a>#}
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/union-process/SchedulingAdjustmentList.html"> 门诊排班调整</a>
                </div>
                {% if '临床管理' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '临床管理' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('logistics_management')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">后勤管理</div>
            <hr>
            <div id="logistics_management" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/BookSubscriptionList.html"> 图书/报刊/杂志征订</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/logistics/ServiceProcurementList.html"> 服务采购</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/logistics/GoodsProcureList.html"> 货物采购</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/logistics/MaintenanceRenovationList.html"> 维修改造</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/infrastructure-process/InfrastructureRenovationList.html"> 基建维修改造</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/infrastructure-process/ProfessionalServicesList.html"> 基建项目专业服务</a>
                </div>

                {% if '后勤管理' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '后勤管理' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('network_information')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">网络信息</div>
            <hr>
            <div id="network_information" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/finance/data_export_list.html"> 数据外导</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/logistics/ComputerDeviceList.html"> 计算机及相关设备购置</a>
                </div>

                {% if '网络信息' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '网络信息' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

        <div style="width: 100%;margin-top: 10px;">
            <div onclick="show_tag('trade_union')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">工会服务</div>
            <hr>
            <div id="trade_union" style="width: 100%;background: white;padding-left: 10px;display: none;">
                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/union-process/PrintingProcessList.html"> 工会用印申请</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/union-process/EconomicSigningList.html"> 工会经济合同会签流程</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/union-process/PayFlowList.html"> 工会付款流程</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/union-process/PreApprovalList.html"> 工会团体活动审批</a>
                </div>

                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/union-process/GoodsSubscribeList.html"> 工会物资申购</a>
                </div>

                {% if '工会流程' in customer_form_dict %}
                    {% for k,v in customer_form_dict.items %}
                        {% if k == '工会流程' %}
                            {% for item in v %}
                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                        {{ item.name }}</a>
                                </div>
                            {% endfor %}
                        {% endif %}
                    {% endfor %}
                {% endif %}
            </div>
        </div>

{#        <div style="width: 100%;margin-top: 10px;">#}
{#            <div onclick="show_tag('flow_management')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">流程修改</div>#}
{#            <hr>#}
{#            <div id="flow_management" style="width: 100%;background: white;padding-left: 10px;display: none;">#}
{#                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="/logistics/PermissionRequirementsList.html"> 权限需求申请</a>#}
{#                </div>#}
{##}
{#                {% if '流程管理' in customer_form_dict %}#}
{#                    {% for k,v in customer_form_dict.items %}#}
{#                        {% if k == '权限需求' %}#}
{#                            {% for item in v %}#}
{#                                <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">#}
{#                                    <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">#}
{#                                    <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">#}
{#                                        {{ item.name }}</a>#}
{#                                </div>#}
{#                            {% endfor %}#}
{#                        {% endif %}#}
{#                    {% endfor %}#}
{#                {% endif %}#}
{#            </div>#}
{#        </div>#}

        {% for k,v in customer_form_dict.items %}
            {% if k not in xianyou_list %}
                <div style="width: 100%;margin-top: 10px;">
                    <div onclick="show_tag('{{ k }}')" style="width: 100%;height: 40px;line-height: 40px;background: white;padding-left: 10px;cursor: pointer;"><img src="../../static/personal_center/img/标签.png" style="width: 25px;height: 25px;" alt="">{{ k }}</div>
                    <hr>
                    <div id="{{ k }}" style="width: 100%;background: white;padding-left: 10px;display: none;">
                        {% for item in v %}
                        <div style="width: 22%;height: 40px;display: inline-block;vertical-align: top;padding-left: 5%;">
                            <img src="../../static/personal_center/img/申请.png" style="width: 25px;height: 25px;margin-top: -2px;" alt="">
                            <a style="color: #454d55;font-size: 14px;height: 40px;line-height: 40px;" href="CustomList.html?id={{ item.id }}">
                                {{ item.name }}</a>
                        </div>
                        {% endfor %}
                    </div>
                </div>
            {% endif %}
        {% endfor %}
    </div>
{% endblock %}


{% block script %}
{#    <script type="text/javascript" src="../../static/public_file/other/jquery.js"></script>#}

    <script src="../../static/system_setup/creat_from/js/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="../../static/finance/js/tooltip.js"></script>
{#    <script type="text/javascript" src="../../static/system_setup/laypage/1.2/laypage.js"></script>#}

    <script>
        function click_ul(ele, tag_id) {
            if (ele === "gongwen") {
                if (tag_id === "dispatch") {
                    if (document.getElementById("jiantou").className === "iconfont icon-jiantou-shang"){
                        document.getElementById("jiantou").className = "iconfont icon-jiantou-xia";
                        document.getElementById("dispatch").style.display = "inline-block";
                    }else {
                        document.getElementById("jiantou").className = "iconfont icon-jiantou-shang";
                        document.getElementById("dispatch").style.display = "none";
                    }
                }else if (tag_id === "Jeremy_levin"){
                    if (document.getElementById("jiantou1").className === "iconfont icon-jiantou-shang"){
                        document.getElementById("jiantou1").className = "iconfont icon-jiantou-xia";
                        document.getElementById("Jeremy_levin").style.display = "inline-block";
                    }else {
                        document.getElementById("jiantou1").className = "iconfont icon-jiantou-shang";
                        document.getElementById("Jeremy_levin").style.display = "none";
                    }
                }
            }
        }

        function show_tag(ele_id) {
            if (document.getElementById(ele_id).style.display === 'none') {
                document.getElementById(ele_id).style.display='block';
            }else {
                document.getElementById(ele_id).style.display='none';
            }
        }

        function permissions_validation(a_href, permissions_type, bill_name="") {
            var xhr = new XMLHttpRequest();
            var local_host = window.location.host;          // 获取当前IP
            xhr.open('post', "/system-setup/permissions_validation");
            xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded');
            xhr.setRequestHeader('Access-Control-Allow-Origin', '*');
            xhr.send("permissions_type="+permissions_type);
            xhr.onreadystatechange = function () {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        document.getElementById("loading").style.display = "none";
                        var JsonDate = JSON.parse(xhr.responseText);
                        var permissions_flag = false;

                        if (permissions_type === "行政审批"){
                            for(var key in JsonDate["permissions"]){
                                if (key === bill_name && JsonDate["permissions"][key]){
                                    permissions_flag = true;
                                    break
                                }
                            }
                        }else {
                            for(var key in JsonDate["permissions"]){
                                if (JsonDate["permissions"][key]){
                                    permissions_flag = true;
                                    break
                                }
                            }
                        }

                        if (permissions_type === "议题汇总") {
                            if (JsonDate["permissions"]["院办议题"]) {
                                a_href = a_href + 'yb'
                            }else if (JsonDate["permissions"]["党办议题"]) {
                                a_href = a_href + 'db'
                            }else {
                                a_href = a_href + 'xz'
                            }
                        }

                        if (permissions_flag){
                            window.location.href=a_href;
                        }
                        if (!permissions_flag){
                            alert("您的访问权限不足！")
                            return false
                        }
                    }
                }
            };
        }

        function enter_voting() {
            var xhr = new XMLHttpRequest();
            var local_host = window.location.host;          // 获取当前IP
            xhr.open('post', "/system-setup/EnterVoting");
            xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded');
            xhr.setRequestHeader('Access-Control-Allow-Origin', '*');
            xhr.send();
            xhr.onreadystatechange = function () {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        var JsonDate = JSON.parse(xhr.responseText);
                        if (JsonDate["flag"] || JsonDate["flag1"]) {
                            window.location.href = "TopicDeliberation.html"
                        }else {
                            alert("您的访问权限不足！")
                            return false
                        }
                    }
                }
            };
        }

        function PartyCommitteeFundingAuthority() {
            var xhr = new XMLHttpRequest();
            var local_host = window.location.host;          // 获取当前IP
            xhr.open('post', "/system-setup/PartyAuthority");
            xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded');
            xhr.setRequestHeader('Access-Control-Allow-Origin', '*');
            xhr.send();
            xhr.onreadystatechange = function () {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        var JsonDate = JSON.parse(xhr.responseText);
                        console.log("党建：", JsonDate)
                        if (JsonDate["flag"] === 'true') {
                            window.location.href = "/finance/party_building_funds_list.html"
                        }else {
                            alert("您的访问权限不足！")
                            return false
                        }
                    }
                }
            };
        }

        function CheckJurisdiction() {
            var xhr = new XMLHttpRequest();
            var local_host = window.location.host;          // 获取当前IP
            xhr.open('post', "/system-setup/CheckJurisdiction");
            xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded');
            xhr.setRequestHeader('Access-Control-Allow-Origin', '*');
            xhr.send();
            xhr.onreadystatechange = function () {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        var JsonDate = JSON.parse(xhr.responseText);
                        if (!JsonDate["flag"]) {
                            alert("您的访问权限不足！")
                            return false
                        }else {
                            window.location.href = "/finance/new_medical_services_list_view"
                        }
                    }
                }
            };
        }
    
        function QuickApplication() {
            var group_id = "{{ group_id | safe }}";
            if (group_id === '2' || group_id === '3' || group_id === '4') {
                window.location.href = "/finance/QuickAuthorizationList.html"
            }else {
                alert("您的访问权限不足！")
                return false
            }
        }
    
        $(document).ready(function(){
            $('#demo-5').tooltip({text: '除差旅报销涉及的学科经费外，其余所有学科经费报销均在此处申请;',fontSize: '12px', theme: 'light', marginLeft: "0"});
        });
        
        function DepartmentSummary(power_type) {
            var xhr = new XMLHttpRequest();
            var local_host = window.location.host;          // 获取当前IP
            xhr.open('post', "/system-setup/Authorizationverification");
            xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded');
            xhr.setRequestHeader('Access-Control-Allow-Origin', '*');
            xhr.send("power_type="+String(power_type));
            xhr.onreadystatechange = function () {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        var JsonDate = JSON.parse(xhr.responseText);
                        if (JsonDate["flag"] === 'false') {
                            alert("您的访问权限不足！")
                            return false
                        }else {
                            if (power_type === 1) {
                                window.location.href = "/medical-ethics/DepartmentSummary.html"
                            }else if (power_type === 2) {
                                window.location.href = "/medical-ethics/OverviewEvaluation.html"
                            }else {
                                window.location.href = "/medical-ethics/AssessmentPublicity.html"
                            }
                        }
                    }
                }
            };
        }
    </script>
{% endblock %}
